package com.hkts.naturalgas.dictionaries.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hkts.naturalgas.dictionaries.entity.HktsEnvironmentProtectionItem;
import com.hkts.naturalgas.dictionaries.entity.HktsFieldControl;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-10-25
 */
public interface IHktsFieldControlService extends IService<HktsFieldControl> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param hktsFieldControl
     * @return
     */
    IPage<HktsFieldControl> selectPage(Page<HktsFieldControl> page, HktsFieldControl hktsFieldControl);

    List<HktsFieldControl> selectList(HktsFieldControl hktsFieldControl);

    Map<String, Object> hanglerItem(List<HktsEnvironmentProtectionItem> controllList, Map<String, Object> map);

    void updateProtectionItem(HktsFieldControl filed);

    HktsFieldControl selectFiledControllerByItemId(String itemId);
}